﻿using Ninject.Modules;
using MapReduceLib.Contracts;
using MasterNode.ServiceImpl;
using MasterNode.Interfaces;

namespace MasterNode
{
    class ServerModule : NinjectModule
    {
        public override void Load()
        {
            Bind<IJobRepository>().To<JobRepository>().InSingletonScope();
            Bind<ITaskTracker>().To<TaskTracker>().InSingletonScope();
            Bind<IJobManager>().To<JobManager>().InSingletonScope();
        }
    }
}
